const modules: AnyObject = import.meta.glob('./*.ts', { eager: true })

let all_api: AnyObject = {}

for (const path in modules) {
  const _export_ = {...modules[path]}
  delete _export_.default
  const _default_ = {...modules[path].default}
  all_api = {...all_api, ..._export_, ..._default_}
}

export default all_api